﻿<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/Site.Master" CodeBehind="graphoflike.aspx.vb" Inherits="island.graphoflike" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <p>
        <asp:Chart ID="Chart1" runat="server" DataSourceID="SqlDataSource1">
            <Series>
                <asp:Series ChartType="Bar" Name="Series1" XValueMember="Comment" 
                    YValueMembers="CountOfID">
                </asp:Series>
            </Series>
            <ChartAreas>
                <asp:ChartArea Name="ChartArea1">
                </asp:ChartArea>
            </ChartAreas>
        </asp:Chart>
        <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
            ConnectionString="<%$ ConnectionStrings:IslandConnectionString %>" 
            ProviderName="<%$ ConnectionStrings:IslandConnectionString.ProviderName %>" 
            SelectCommand="SELECT [Comment], [CountOfID] FROM [countlikes] WHERE ([CountOfID] &gt; ?) ORDER BY [CountOfID] DESC">
            <SelectParameters>
                <asp:Parameter DefaultValue="0" Name="CountOfID" Type="Int32" />
            </SelectParameters>
        </asp:SqlDataSource>
        <br />
    </p>
    <p>
    </p>
</asp:Content>
